package com.villaday.idf.model;

import java.util.List;

public class MemberMessagEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"hasNext":false,"list":[{"content":"您喜欢的产品降价了","createTime":"2017-01-01 00:00:00","createTimeText":"01-01","extras":{"idfAppPage":"page/house/detail","type":1,"params":{"imageUrl":"https://img.villaday.com/images/house_856/23384/23384-10-107990.jpg","name":"小径湾·至尊海景7房花园洋房","id":"V6y13Mw5Oo"}},"id":"ob7wkOwmNO","readState":0,"subTitle":"您喜欢的产品降价了","title":"降价通知"},{"content":"新品上线【小径湾·至尊海景7房花园洋房】","createTime":"2017-01-01 00:00:00","createTimeText":"01-01","extras":{"idfAppPage":"page/house/detail","type":1,"params":{"imageUrl":"https://img.villaday.com/images/house_856/23384/23384-10-107990.jpg","name":"小径湾·至尊海景7房花园洋房","id":"V6y13Mw5Oo"}},"id":"vrGKoE0nej","readState":0,"subTitle":"新品上线【小径湾·至尊海景7房花园洋房】","title":"新品上线"}],"next":1,"pageNo":1,"pageSize":10,"size":10,"start":1,"total":2}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * hasNext : false
         * list : [{"content":"您喜欢的产品降价了","createTime":"2017-01-01 00:00:00","createTimeText":"01-01","extras":{"idfAppPage":"page/house/detail","type":1,"params":{"imageUrl":"https://img.villaday.com/images/house_856/23384/23384-10-107990.jpg","name":"小径湾·至尊海景7房花园洋房","id":"V6y13Mw5Oo"}},"id":"ob7wkOwmNO","readState":0,"subTitle":"您喜欢的产品降价了","title":"降价通知"},{"content":"新品上线【小径湾·至尊海景7房花园洋房】","createTime":"2017-01-01 00:00:00","createTimeText":"01-01","extras":{"idfAppPage":"page/house/detail","type":1,"params":{"imageUrl":"https://img.villaday.com/images/house_856/23384/23384-10-107990.jpg","name":"小径湾·至尊海景7房花园洋房","id":"V6y13Mw5Oo"}},"id":"vrGKoE0nej","readState":0,"subTitle":"新品上线【小径湾·至尊海景7房花园洋房】","title":"新品上线"}]
         * next : 1
         * pageNo : 1
         * pageSize : 10
         * size : 10
         * start : 1
         * total : 2
         */

        private boolean hasNext;
        private int next;
        private int pageNo;
        private int pageSize;
        private int size;
        private int start;
        private int total;
        private List<ListEntity> list;

        public boolean isHasNext() {
            return hasNext;
        }

        public void setHasNext(boolean hasNext) {
            this.hasNext = hasNext;
        }

        public int getNext() {
            return next;
        }

        public void setNext(int next) {
            this.next = next;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStart() {
            return start;
        }

        public void setStart(int start) {
            this.start = start;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public static class ListEntity {
            /**
             * content : 您喜欢的产品降价了
             * createTime : 2017-01-01 00:00:00
             * createTimeText : 01-01
             * extras : {"idfAppPage":"page/house/detail","type":1,"params":{"imageUrl":"https://img.villaday.com/images/house_856/23384/23384-10-107990.jpg","name":"小径湾·至尊海景7房花园洋房","id":"V6y13Mw5Oo"}}
             * id : ob7wkOwmNO
             * readState : 0
             * subTitle : 您喜欢的产品降价了
             * title : 降价通知
             */

            private String content;
            private String createTime;
            private String createTimeText;
            private ExtrasEntity extras;
            private String id;
            private int readState;
            private String subTitle;
            private String title;
            private int type;

            public ListEntity(int type) {
                this.type = type;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getCreateTimeText() {
                return createTimeText;
            }

            public void setCreateTimeText(String createTimeText) {
                this.createTimeText = createTimeText;
            }

            public ExtrasEntity getExtras() {
                return extras;
            }

            public void setExtras(ExtrasEntity extras) {
                this.extras = extras;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getReadState() {
                return readState;
            }

            public void setReadState(int readState) {
                this.readState = readState;
            }

            public String getSubTitle() {
                return subTitle;
            }

            public void setSubTitle(String subTitle) {
                this.subTitle = subTitle;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public static class ExtrasEntity {
                /**
                 * idfAppPage : page/house/detail
                 * type : 1
                 * params : {"imageUrl":"https://img.villaday.com/images/house_856/23384/23384-10-107990.jpg","name":"小径湾·至尊海景7房花园洋房","id":"V6y13Mw5Oo"}
                 */

                private String idfAppPage;
                private int type;
                private ParamsEntity params;
                private String link;

                public String getLink() {
                    return link;
                }

                public void setLink(String link) {
                    this.link = link;
                }

                public String getIdfAppPage() {
                    return idfAppPage;
                }

                public void setIdfAppPage(String idfAppPage) {
                    this.idfAppPage = idfAppPage;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public ParamsEntity getParams() {
                    return params;
                }

                public void setParams(ParamsEntity params) {
                    this.params = params;
                }

                public static class ParamsEntity {
                    /**
                     * imageUrl : https://img.villaday.com/images/house_856/23384/23384-10-107990.jpg
                     * name : 小径湾·至尊海景7房花园洋房
                     * id : V6y13Mw5Oo
                     */

                    private String imageUrl;
                    private String name;
                    private String id;

                    public String getImageUrl() {
                        return imageUrl;
                    }

                    public void setImageUrl(String imageUrl) {
                        this.imageUrl = imageUrl;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }
                }
            }
        }
    }
}
